import { BasicColumn, FormSchema } from '/@/components/Table';

export const useLogsQueryColumns = (): BasicColumn[] => {
  return [
    { title: '', dataIndex: 'logId' },
    { title: '', dataIndex: 'username' },
    { title: '', dataIndex: 'ipAddress' },
    { title: '', dataIndex: 'loginLocation' },
    { title: '', dataIndex: 'operationSystem' },
    { title: '', dataIndex: 'browser' },
    { title: '', dataIndex: 'status' },
    { title: '', dataIndex: 'statusStr' },
    { title: '', dataIndex: 'msg' },
    { title: '', dataIndex: 'loginTime' },
  ];
};

export const useLogsQuerySearchForm = (): FormSchema[] => {
  return [{ field: 'query', label: '', component: 'Input' }];
};
